package cn.hs.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @TableName mytest
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Mytest implements Serializable {
    private Integer id;

    private Integer userId;

    private Integer testId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date testtime;

    private static final long serialVersionUID = 1L;
}